﻿using Common.Property;
using Common.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DTO.DTO.Sys.Module
{
    [Serializable]
    public class ModuleListDTO
    {
        public string Id { set; get; }
        public string Name { set; get; }
        public string PageUrl { set; get; }
        public string Type { set; get; }
        public string TypeName { get { return EnumHelper.ToEnumDescriptionString(Type, typeof(E_ModuleType)); } }
        public string Status { set; get; }
        public string StatusName { get { return EnumHelper.ToEnumDescriptionString(Status, typeof(E_Status)); } }
        public DateTime CreateTime { get; set; }
    }
}
